package cn.mdx.mapper;

import cn.mdx.pojo.Field;
import cn.mdx.pojo.Fields;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;

@Repository
public interface FieldsMapper {
    int deleteByPrimaryKey(Integer fid);

    int insert(Fields record);

    int insertSelective(Fields record);

    Fields selectByPrimaryKey(Integer fid);

    int updateByPrimaryKeySelective(Fields record);

    int updateByPrimaryKey(Fields record);

    ArrayList<Field> getFieldsListByField(Integer id);
}